/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Processor.Components;
import CrlException.CrlException;
import ExtractorInterface.ExtractorInterface;
/**
 *
 * @author CUHUUHOANG
 */
public class ContentSeen {
    ExtractorInterface extractor;
    
    public ContentSeen(ExtractorInterface extractor) {
        this.extractor=extractor;
    }
    
    public boolean isContentSeen() throws CrlException{
        try{
            return extractor.isURLused();
        } catch (Exception e) {
            throw new CrlException(e.getMessage());
        }
        
    }
}
